package com.ruoyi.system.service.shopping;

import com.ruoyi.system.domain.shopping.ShoppingCart;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

public interface ShoppingCartService {
    List<ShoppingCart> selectList(Integer userId);

    Boolean add(Integer userId, Integer productId);

    int count(Integer userId);

    Boolean updateNum(ShoppingCart shoppingCart);

    Boolean delete(Integer shoppingCartId);
}
